
apue:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 2a 2f 00 00    	pushq  0x2f2a(%rip)        # 3f50 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 2b 2f 00 00 	bnd jmpq *0x2f2b(%rip)        # 3f58 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop
    1070:	f3 0f 1e fa          	endbr64 
    1074:	68 04 00 00 00       	pushq  $0x4
    1079:	f2 e9 a1 ff ff ff    	bnd jmpq 1020 <.plt>
    107f:	90                   	nop
    1080:	f3 0f 1e fa          	endbr64 
    1084:	68 05 00 00 00       	pushq  $0x5
    1089:	f2 e9 91 ff ff ff    	bnd jmpq 1020 <.plt>
    108f:	90                   	nop
    1090:	f3 0f 1e fa          	endbr64 
    1094:	68 06 00 00 00       	pushq  $0x6
    1099:	f2 e9 81 ff ff ff    	bnd jmpq 1020 <.plt>
    109f:	90                   	nop
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	68 07 00 00 00       	pushq  $0x7
    10a9:	f2 e9 71 ff ff ff    	bnd jmpq 1020 <.plt>
    10af:	90                   	nop
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	68 08 00 00 00       	pushq  $0x8
    10b9:	f2 e9 61 ff ff ff    	bnd jmpq 1020 <.plt>
    10bf:	90                   	nop
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	68 09 00 00 00       	pushq  $0x9
    10c9:	f2 e9 51 ff ff ff    	bnd jmpq 1020 <.plt>
    10cf:	90                   	nop
    10d0:	f3 0f 1e fa          	endbr64 
    10d4:	68 0a 00 00 00       	pushq  $0xa
    10d9:	f2 e9 41 ff ff ff    	bnd jmpq 1020 <.plt>
    10df:	90                   	nop
    10e0:	f3 0f 1e fa          	endbr64 
    10e4:	68 0b 00 00 00       	pushq  $0xb
    10e9:	f2 e9 31 ff ff ff    	bnd jmpq 1020 <.plt>
    10ef:	90                   	nop
    10f0:	f3 0f 1e fa          	endbr64 
    10f4:	68 0c 00 00 00       	pushq  $0xc
    10f9:	f2 e9 21 ff ff ff    	bnd jmpq 1020 <.plt>
    10ff:	90                   	nop
    1100:	f3 0f 1e fa          	endbr64 
    1104:	68 0d 00 00 00       	pushq  $0xd
    1109:	f2 e9 11 ff ff ff    	bnd jmpq 1020 <.plt>
    110f:	90                   	nop
    1110:	f3 0f 1e fa          	endbr64 
    1114:	68 0e 00 00 00       	pushq  $0xe
    1119:	f2 e9 01 ff ff ff    	bnd jmpq 1020 <.plt>
    111f:	90                   	nop

Disassembly of section .plt.got:

0000000000001120 <__cxa_finalize@plt>:
    1120:	f3 0f 1e fa          	endbr64 
    1124:	f2 ff 25 cd 2e 00 00 	bnd jmpq *0x2ecd(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    112b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

0000000000001130 <sigaction@plt>:
    1130:	f3 0f 1e fa          	endbr64 
    1134:	f2 ff 25 25 2e 00 00 	bnd jmpq *0x2e25(%rip)        # 3f60 <sigaction@GLIBC_2.2.5>
    113b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001140 <chdir@plt>:
    1140:	f3 0f 1e fa          	endbr64 
    1144:	f2 ff 25 1d 2e 00 00 	bnd jmpq *0x2e1d(%rip)        # 3f68 <chdir@GLIBC_2.2.5>
    114b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001150 <__stack_chk_fail@plt>:
    1150:	f3 0f 1e fa          	endbr64 
    1154:	f2 ff 25 15 2e 00 00 	bnd jmpq *0x2e15(%rip)        # 3f70 <__stack_chk_fail@GLIBC_2.4>
    115b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001160 <printf@plt>:
    1160:	f3 0f 1e fa          	endbr64 
    1164:	f2 ff 25 0d 2e 00 00 	bnd jmpq *0x2e0d(%rip)        # 3f78 <printf@GLIBC_2.2.5>
    116b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001170 <dup@plt>:
    1170:	f3 0f 1e fa          	endbr64 
    1174:	f2 ff 25 05 2e 00 00 	bnd jmpq *0x2e05(%rip)        # 3f80 <dup@GLIBC_2.2.5>
    117b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001180 <close@plt>:
    1180:	f3 0f 1e fa          	endbr64 
    1184:	f2 ff 25 fd 2d 00 00 	bnd jmpq *0x2dfd(%rip)        # 3f88 <close@GLIBC_2.2.5>
    118b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001190 <setsid@plt>:
    1190:	f3 0f 1e fa          	endbr64 
    1194:	f2 ff 25 f5 2d 00 00 	bnd jmpq *0x2df5(%rip)        # 3f90 <setsid@GLIBC_2.2.5>
    119b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011a0 <sigemptyset@plt>:
    11a0:	f3 0f 1e fa          	endbr64 
    11a4:	f2 ff 25 ed 2d 00 00 	bnd jmpq *0x2ded(%rip)        # 3f98 <sigemptyset@GLIBC_2.2.5>
    11ab:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011b0 <umask@plt>:
    11b0:	f3 0f 1e fa          	endbr64 
    11b4:	f2 ff 25 e5 2d 00 00 	bnd jmpq *0x2de5(%rip)        # 3fa0 <umask@GLIBC_2.2.5>
    11bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011c0 <syslog@plt>:
    11c0:	f3 0f 1e fa          	endbr64 
    11c4:	f2 ff 25 dd 2d 00 00 	bnd jmpq *0x2ddd(%rip)        # 3fa8 <syslog@GLIBC_2.2.5>
    11cb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011d0 <open@plt>:
    11d0:	f3 0f 1e fa          	endbr64 
    11d4:	f2 ff 25 d5 2d 00 00 	bnd jmpq *0x2dd5(%rip)        # 3fb0 <open@GLIBC_2.2.5>
    11db:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011e0 <openlog@plt>:
    11e0:	f3 0f 1e fa          	endbr64 
    11e4:	f2 ff 25 cd 2d 00 00 	bnd jmpq *0x2dcd(%rip)        # 3fb8 <openlog@GLIBC_2.2.5>
    11eb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000011f0 <exit@plt>:
    11f0:	f3 0f 1e fa          	endbr64 
    11f4:	f2 ff 25 c5 2d 00 00 	bnd jmpq *0x2dc5(%rip)        # 3fc0 <exit@GLIBC_2.2.5>
    11fb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001200 <getrlimit@plt>:
    1200:	f3 0f 1e fa          	endbr64 
    1204:	f2 ff 25 bd 2d 00 00 	bnd jmpq *0x2dbd(%rip)        # 3fc8 <getrlimit@GLIBC_2.2.5>
    120b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001210 <fork@plt>:
    1210:	f3 0f 1e fa          	endbr64 
    1214:	f2 ff 25 b5 2d 00 00 	bnd jmpq *0x2db5(%rip)        # 3fd0 <fork@GLIBC_2.2.5>
    121b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

0000000000001220 <_start>:
    1220:	f3 0f 1e fa          	endbr64 
    1224:	31 ed                	xor    %ebp,%ebp
    1226:	49 89 d1             	mov    %rdx,%r9
    1229:	5e                   	pop    %rsi
    122a:	48 89 e2             	mov    %rsp,%rdx
    122d:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    1231:	50                   	push   %rax
    1232:	54                   	push   %rsp
    1233:	4c 8d 05 06 04 00 00 	lea    0x406(%rip),%r8        # 1640 <__libc_csu_fini>
    123a:	48 8d 0d 8f 03 00 00 	lea    0x38f(%rip),%rcx        # 15d0 <__libc_csu_init>
    1241:	48 8d 3d 63 03 00 00 	lea    0x363(%rip),%rdi        # 15ab <main>
    1248:	ff 15 92 2d 00 00    	callq  *0x2d92(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    124e:	f4                   	hlt    
    124f:	90                   	nop

0000000000001250 <deregister_tm_clones>:
    1250:	48 8d 3d b9 2d 00 00 	lea    0x2db9(%rip),%rdi        # 4010 <__TMC_END__>
    1257:	48 8d 05 b2 2d 00 00 	lea    0x2db2(%rip),%rax        # 4010 <__TMC_END__>
    125e:	48 39 f8             	cmp    %rdi,%rax
    1261:	74 15                	je     1278 <deregister_tm_clones+0x28>
    1263:	48 8b 05 6e 2d 00 00 	mov    0x2d6e(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    126a:	48 85 c0             	test   %rax,%rax
    126d:	74 09                	je     1278 <deregister_tm_clones+0x28>
    126f:	ff e0                	jmpq   *%rax
    1271:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1278:	c3                   	retq   
    1279:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001280 <register_tm_clones>:
    1280:	48 8d 3d 89 2d 00 00 	lea    0x2d89(%rip),%rdi        # 4010 <__TMC_END__>
    1287:	48 8d 35 82 2d 00 00 	lea    0x2d82(%rip),%rsi        # 4010 <__TMC_END__>
    128e:	48 29 fe             	sub    %rdi,%rsi
    1291:	48 89 f0             	mov    %rsi,%rax
    1294:	48 c1 ee 3f          	shr    $0x3f,%rsi
    1298:	48 c1 f8 03          	sar    $0x3,%rax
    129c:	48 01 c6             	add    %rax,%rsi
    129f:	48 d1 fe             	sar    %rsi
    12a2:	74 14                	je     12b8 <register_tm_clones+0x38>
    12a4:	48 8b 05 45 2d 00 00 	mov    0x2d45(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    12ab:	48 85 c0             	test   %rax,%rax
    12ae:	74 08                	je     12b8 <register_tm_clones+0x38>
    12b0:	ff e0                	jmpq   *%rax
    12b2:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    12b8:	c3                   	retq   
    12b9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000012c0 <__do_global_dtors_aux>:
    12c0:	f3 0f 1e fa          	endbr64 
    12c4:	80 3d 45 2d 00 00 00 	cmpb   $0x0,0x2d45(%rip)        # 4010 <__TMC_END__>
    12cb:	75 2b                	jne    12f8 <__do_global_dtors_aux+0x38>
    12cd:	55                   	push   %rbp
    12ce:	48 83 3d 22 2d 00 00 	cmpq   $0x0,0x2d22(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    12d5:	00 
    12d6:	48 89 e5             	mov    %rsp,%rbp
    12d9:	74 0c                	je     12e7 <__do_global_dtors_aux+0x27>
    12db:	48 8b 3d 26 2d 00 00 	mov    0x2d26(%rip),%rdi        # 4008 <__dso_handle>
    12e2:	e8 39 fe ff ff       	callq  1120 <__cxa_finalize@plt>
    12e7:	e8 64 ff ff ff       	callq  1250 <deregister_tm_clones>
    12ec:	c6 05 1d 2d 00 00 01 	movb   $0x1,0x2d1d(%rip)        # 4010 <__TMC_END__>
    12f3:	5d                   	pop    %rbp
    12f4:	c3                   	retq   
    12f5:	0f 1f 00             	nopl   (%rax)
    12f8:	c3                   	retq   
    12f9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001300 <frame_dummy>:
    1300:	f3 0f 1e fa          	endbr64 
    1304:	e9 77 ff ff ff       	jmpq   1280 <register_tm_clones>

0000000000001309 <daemonize_test>:
    1309:	f3 0f 1e fa          	endbr64 
    130d:	55                   	push   %rbp
    130e:	48 89 e5             	mov    %rsp,%rbp
    1311:	48 81 ec e0 00 00 00 	sub    $0xe0,%rsp
    1318:	48 89 bd 28 ff ff ff 	mov    %rdi,-0xd8(%rbp)
    131f:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    1326:	00 00 
    1328:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    132c:	31 c0                	xor    %eax,%eax
    132e:	bf 00 00 00 00       	mov    $0x0,%edi
    1333:	b8 00 00 00 00       	mov    $0x0,%eax
    1338:	e8 73 fe ff ff       	callq  11b0 <umask@plt>
    133d:	48 8d 85 50 ff ff ff 	lea    -0xb0(%rbp),%rax
    1344:	48 89 c6             	mov    %rax,%rsi
    1347:	bf 07 00 00 00       	mov    $0x7,%edi
    134c:	e8 af fe ff ff       	callq  1200 <getrlimit@plt>
    1351:	85 c0                	test   %eax,%eax
    1353:	79 1b                	jns    1370 <daemonize_test+0x67>
    1355:	48 8b 85 28 ff ff ff 	mov    -0xd8(%rbp),%rax
    135c:	48 89 c6             	mov    %rax,%rsi
    135f:	48 8d 3d a2 0c 00 00 	lea    0xca2(%rip),%rdi        # 2008 <_IO_stdin_used+0x8>
    1366:	b8 00 00 00 00       	mov    $0x0,%eax
    136b:	e8 f0 fd ff ff       	callq  1160 <printf@plt>
    1370:	e8 9b fe ff ff       	callq  1210 <fork@plt>
    1375:	89 85 40 ff ff ff    	mov    %eax,-0xc0(%rbp)
    137b:	83 bd 40 ff ff ff 00 	cmpl   $0x0,-0xc0(%rbp)
    1382:	79 1d                	jns    13a1 <daemonize_test+0x98>
    1384:	48 8b 85 28 ff ff ff 	mov    -0xd8(%rbp),%rax
    138b:	48 89 c6             	mov    %rax,%rsi
    138e:	48 8d 3d 8c 0c 00 00 	lea    0xc8c(%rip),%rdi        # 2021 <_IO_stdin_used+0x21>
    1395:	b8 00 00 00 00       	mov    $0x0,%eax
    139a:	e8 c1 fd ff ff       	callq  1160 <printf@plt>
    139f:	eb 13                	jmp    13b4 <daemonize_test+0xab>
    13a1:	83 bd 40 ff ff ff 00 	cmpl   $0x0,-0xc0(%rbp)
    13a8:	74 0a                	je     13b4 <daemonize_test+0xab>
    13aa:	bf 00 00 00 00       	mov    $0x0,%edi
    13af:	e8 3c fe ff ff       	callq  11f0 <exit@plt>
    13b4:	b8 00 00 00 00       	mov    $0x0,%eax
    13b9:	e8 d2 fd ff ff       	callq  1190 <setsid@plt>
    13be:	48 c7 85 60 ff ff ff 	movq   $0x1,-0xa0(%rbp)
    13c5:	01 00 00 00 
    13c9:	48 8d 85 60 ff ff ff 	lea    -0xa0(%rbp),%rax
    13d0:	48 83 c0 08          	add    $0x8,%rax
    13d4:	48 89 c7             	mov    %rax,%rdi
    13d7:	e8 c4 fd ff ff       	callq  11a0 <sigemptyset@plt>
    13dc:	c7 45 e8 00 00 00 00 	movl   $0x0,-0x18(%rbp)
    13e3:	48 8d 85 60 ff ff ff 	lea    -0xa0(%rbp),%rax
    13ea:	ba 00 00 00 00       	mov    $0x0,%edx
    13ef:	48 89 c6             	mov    %rax,%rsi
    13f2:	bf 01 00 00 00       	mov    $0x1,%edi
    13f7:	e8 34 fd ff ff       	callq  1130 <sigaction@plt>
    13fc:	85 c0                	test   %eax,%eax
    13fe:	79 1b                	jns    141b <daemonize_test+0x112>
    1400:	48 8b 85 28 ff ff ff 	mov    -0xd8(%rbp),%rax
    1407:	48 89 c6             	mov    %rax,%rsi
    140a:	48 8d 3d 1f 0c 00 00 	lea    0xc1f(%rip),%rdi        # 2030 <_IO_stdin_used+0x30>
    1411:	b8 00 00 00 00       	mov    $0x0,%eax
    1416:	e8 45 fd ff ff       	callq  1160 <printf@plt>
    141b:	e8 f0 fd ff ff       	callq  1210 <fork@plt>
    1420:	89 85 40 ff ff ff    	mov    %eax,-0xc0(%rbp)
    1426:	83 bd 40 ff ff ff 00 	cmpl   $0x0,-0xc0(%rbp)
    142d:	79 1d                	jns    144c <daemonize_test+0x143>
    142f:	48 8b 85 28 ff ff ff 	mov    -0xd8(%rbp),%rax
    1436:	48 89 c6             	mov    %rax,%rsi
    1439:	48 8d 3d e1 0b 00 00 	lea    0xbe1(%rip),%rdi        # 2021 <_IO_stdin_used+0x21>
    1440:	b8 00 00 00 00       	mov    $0x0,%eax
    1445:	e8 16 fd ff ff       	callq  1160 <printf@plt>
    144a:	eb 13                	jmp    145f <daemonize_test+0x156>
    144c:	83 bd 40 ff ff ff 00 	cmpl   $0x0,-0xc0(%rbp)
    1453:	74 0a                	je     145f <daemonize_test+0x156>
    1455:	bf 00 00 00 00       	mov    $0x0,%edi
    145a:	e8 91 fd ff ff       	callq  11f0 <exit@plt>
    145f:	48 8d 3d e2 0b 00 00 	lea    0xbe2(%rip),%rdi        # 2048 <_IO_stdin_used+0x48>
    1466:	b8 00 00 00 00       	mov    $0x0,%eax
    146b:	e8 d0 fc ff ff       	callq  1140 <chdir@plt>
    1470:	85 c0                	test   %eax,%eax
    1472:	79 1b                	jns    148f <daemonize_test+0x186>
    1474:	48 8b 85 28 ff ff ff 	mov    -0xd8(%rbp),%rax
    147b:	48 89 c6             	mov    %rax,%rsi
    147e:	48 8d 3d cb 0b 00 00 	lea    0xbcb(%rip),%rdi        # 2050 <_IO_stdin_used+0x50>
    1485:	b8 00 00 00 00       	mov    $0x0,%eax
    148a:	e8 d1 fc ff ff       	callq  1160 <printf@plt>
    148f:	48 8b 85 58 ff ff ff 	mov    -0xa8(%rbp),%rax
    1496:	48 83 f8 ff          	cmp    $0xffffffffffffffff,%rax
    149a:	75 0b                	jne    14a7 <daemonize_test+0x19e>
    149c:	48 c7 85 58 ff ff ff 	movq   $0x400,-0xa8(%rbp)
    14a3:	00 04 00 00 
    14a7:	c7 85 3c ff ff ff 00 	movl   $0x0,-0xc4(%rbp)
    14ae:	00 00 00 
    14b1:	eb 19                	jmp    14cc <daemonize_test+0x1c3>
    14b3:	8b 85 3c ff ff ff    	mov    -0xc4(%rbp),%eax
    14b9:	89 c7                	mov    %eax,%edi
    14bb:	b8 00 00 00 00       	mov    $0x0,%eax
    14c0:	e8 bb fc ff ff       	callq  1180 <close@plt>
    14c5:	83 85 3c ff ff ff 01 	addl   $0x1,-0xc4(%rbp)
    14cc:	8b 85 3c ff ff ff    	mov    -0xc4(%rbp),%eax
    14d2:	48 63 d0             	movslq %eax,%rdx
    14d5:	48 8b 85 58 ff ff ff 	mov    -0xa8(%rbp),%rax
    14dc:	48 39 c2             	cmp    %rax,%rdx
    14df:	72 d2                	jb     14b3 <daemonize_test+0x1aa>
    14e1:	be 02 00 00 00       	mov    $0x2,%esi
    14e6:	48 8d 3d 83 0b 00 00 	lea    0xb83(%rip),%rdi        # 2070 <_IO_stdin_used+0x70>
    14ed:	b8 00 00 00 00       	mov    $0x0,%eax
    14f2:	e8 d9 fc ff ff       	callq  11d0 <open@plt>
    14f7:	89 85 44 ff ff ff    	mov    %eax,-0xbc(%rbp)
    14fd:	bf 00 00 00 00       	mov    $0x0,%edi
    1502:	b8 00 00 00 00       	mov    $0x0,%eax
    1507:	e8 64 fc ff ff       	callq  1170 <dup@plt>
    150c:	89 85 48 ff ff ff    	mov    %eax,-0xb8(%rbp)
    1512:	bf 00 00 00 00       	mov    $0x0,%edi
    1517:	b8 00 00 00 00       	mov    $0x0,%eax
    151c:	e8 4f fc ff ff       	callq  1170 <dup@plt>
    1521:	89 85 4c ff ff ff    	mov    %eax,-0xb4(%rbp)
    1527:	48 8b 85 28 ff ff ff 	mov    -0xd8(%rbp),%rax
    152e:	ba 18 00 00 00       	mov    $0x18,%edx
    1533:	be 02 00 00 00       	mov    $0x2,%esi
    1538:	48 89 c7             	mov    %rax,%rdi
    153b:	e8 a0 fc ff ff       	callq  11e0 <openlog@plt>
    1540:	83 bd 44 ff ff ff 00 	cmpl   $0x0,-0xbc(%rbp)
    1547:	75 12                	jne    155b <daemonize_test+0x252>
    1549:	83 bd 48 ff ff ff 01 	cmpl   $0x1,-0xb8(%rbp)
    1550:	75 09                	jne    155b <daemonize_test+0x252>
    1552:	83 bd 4c ff ff ff 02 	cmpl   $0x2,-0xb4(%rbp)
    1559:	74 39                	je     1594 <daemonize_test+0x28b>
    155b:	8b 8d 4c ff ff ff    	mov    -0xb4(%rbp),%ecx
    1561:	8b 95 48 ff ff ff    	mov    -0xb8(%rbp),%edx
    1567:	8b 85 44 ff ff ff    	mov    -0xbc(%rbp),%eax
    156d:	41 89 c8             	mov    %ecx,%r8d
    1570:	89 d1                	mov    %edx,%ecx
    1572:	89 c2                	mov    %eax,%edx
    1574:	48 8d 35 05 0b 00 00 	lea    0xb05(%rip),%rsi        # 2080 <_IO_stdin_used+0x80>
    157b:	bf 03 00 00 00       	mov    $0x3,%edi
    1580:	b8 00 00 00 00       	mov    $0x0,%eax
    1585:	e8 36 fc ff ff       	callq  11c0 <syslog@plt>
    158a:	bf 01 00 00 00       	mov    $0x1,%edi
    158f:	e8 5c fc ff ff       	callq  11f0 <exit@plt>
    1594:	90                   	nop
    1595:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    1599:	64 48 33 04 25 28 00 	xor    %fs:0x28,%rax
    15a0:	00 00 
    15a2:	74 05                	je     15a9 <daemonize_test+0x2a0>
    15a4:	e8 a7 fb ff ff       	callq  1150 <__stack_chk_fail@plt>
    15a9:	c9                   	leaveq 
    15aa:	c3                   	retq   

00000000000015ab <main>:
    15ab:	f3 0f 1e fa          	endbr64 
    15af:	55                   	push   %rbp
    15b0:	48 89 e5             	mov    %rsp,%rbp
    15b3:	48 8d 3d eb 0a 00 00 	lea    0xaeb(%rip),%rdi        # 20a5 <_IO_stdin_used+0xa5>
    15ba:	e8 4a fd ff ff       	callq  1309 <daemonize_test>
    15bf:	b8 00 00 00 00       	mov    $0x0,%eax
    15c4:	5d                   	pop    %rbp
    15c5:	c3                   	retq   
    15c6:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
    15cd:	00 00 00 

00000000000015d0 <__libc_csu_init>:
    15d0:	f3 0f 1e fa          	endbr64 
    15d4:	41 57                	push   %r15
    15d6:	4c 8d 3d 5b 27 00 00 	lea    0x275b(%rip),%r15        # 3d38 <__frame_dummy_init_array_entry>
    15dd:	41 56                	push   %r14
    15df:	49 89 d6             	mov    %rdx,%r14
    15e2:	41 55                	push   %r13
    15e4:	49 89 f5             	mov    %rsi,%r13
    15e7:	41 54                	push   %r12
    15e9:	41 89 fc             	mov    %edi,%r12d
    15ec:	55                   	push   %rbp
    15ed:	48 8d 2d 4c 27 00 00 	lea    0x274c(%rip),%rbp        # 3d40 <__do_global_dtors_aux_fini_array_entry>
    15f4:	53                   	push   %rbx
    15f5:	4c 29 fd             	sub    %r15,%rbp
    15f8:	48 83 ec 08          	sub    $0x8,%rsp
    15fc:	e8 ff f9 ff ff       	callq  1000 <_init>
    1601:	48 c1 fd 03          	sar    $0x3,%rbp
    1605:	74 1f                	je     1626 <__libc_csu_init+0x56>
    1607:	31 db                	xor    %ebx,%ebx
    1609:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1610:	4c 89 f2             	mov    %r14,%rdx
    1613:	4c 89 ee             	mov    %r13,%rsi
    1616:	44 89 e7             	mov    %r12d,%edi
    1619:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    161d:	48 83 c3 01          	add    $0x1,%rbx
    1621:	48 39 dd             	cmp    %rbx,%rbp
    1624:	75 ea                	jne    1610 <__libc_csu_init+0x40>
    1626:	48 83 c4 08          	add    $0x8,%rsp
    162a:	5b                   	pop    %rbx
    162b:	5d                   	pop    %rbp
    162c:	41 5c                	pop    %r12
    162e:	41 5d                	pop    %r13
    1630:	41 5e                	pop    %r14
    1632:	41 5f                	pop    %r15
    1634:	c3                   	retq   
    1635:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    163c:	00 00 00 00 

0000000000001640 <__libc_csu_fini>:
    1640:	f3 0f 1e fa          	endbr64 
    1644:	c3                   	retq   

Disassembly of section .fini:

0000000000001648 <_fini>:
    1648:	f3 0f 1e fa          	endbr64 
    164c:	48 83 ec 08          	sub    $0x8,%rsp
    1650:	48 83 c4 08          	add    $0x8,%rsp
    1654:	c3                   	retq   
